package com.situ.shoplook.common.mapper;

import com.situ.shoplook.common.model.ShoppingCart;

import java.util.List;

/**
* @author 86198
* @description 针对表【shopping_cart】的数据库操作Mapper
* @createDate 2024-08-30 09:19:10
* @Entity com.situ.shoplook.common.model.ShoppingCart
*/
public interface ShoppingCartMapper {

    int deleteByPrimaryKey(Long id);

    int insert(ShoppingCart record);

    int insertSelective(ShoppingCart record);

    ShoppingCart selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ShoppingCart record);

    int updateByPrimaryKey(ShoppingCart record);

    int findByUserIdCount(Long userId);

    List<ShoppingCart> getMyShoppingCartItems(Long userId);
}
